<table>
  <tr>
    <th>Numero</th>
    <th>Status</th>
  </tr>

<% for chambre in chambres %>
  <tr>
    <td><%=h chambre.numero %></td>
    <td><%=h chambre.status %></td>
    <td><%= link_to 'Show', chambre %></td>
    <td><%= link_to 'Edit', edit_chambre_path(chambre) %></td>
		<td><%= link_to 'Destroy', chambre, :confirm => 'Are you sure?', :method => :delete %></td>
		<td><%= button_to 'Select', :controller => 'reservations', :action => "index", :id => chambre %></td>
  </tr>
<% end %>
</table>

<br />

